@layout("/common/_container.html",{js:["/assets/storage/storageStock/storageStock_add.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
    	background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">Add</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="storageStockForm" lay-filter="storageStockForm" class="layui-form layui-form-pane" style="max-width: 700px;margin: 10px auto;">
                <input name="id" type="hidden"/>
                
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
		<legend>Enter Inventory Information</legend>
	  </fieldset>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">Project Name<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="operateId" name="operateId" lay-filter="operateId" lay-verify="required" required>
                            @for(item in basicOperatelist!){
                            <option value="${item.id}">${item.operateName}</option>
                            @}
                        </select>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">Customer Name<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="customerId" name="customerId" lay-filter="customerId" lay-verify="required" required>
                            @for(item in customerlist!){
                            <option value="${item.id}">${item.customerName}</option>
                            @}
                        </select>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">Warehouse Name<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="warehouseId" name="warehouseId" lay-filter="warehouseId" lay-verify="required" required>
                            <option value=""></option>
                            @for(item in wlist!){
                            <option value="${item.id}">${item.warehouseName}</option>
                            @}
                        </select>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">Storage Area Code<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="areaId" name="areaId" lay-filter="areaId" lay-verify="required" required>
                            <option value=""></option>
                        </select>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">Location Code<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="positionId" name="positionId" lay-filter="positionId" lay-verify="required" required>
                            <option value=""></option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">Goods Name<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="goodsId" name="goodsId" type="hidden">
                        <input id="goodsName" name="goodsName" placeholder="Please select goods name" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">Goods Number<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="goodsNumber" name="goodsNumber" placeholder="Please enter goods number" type="text" class="layui-input" lay-verify="required" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">Quantity<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="num" name="num" placeholder="Please enter quantity" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">Production Date</label>
                    <div class="layui-input-block">
                        <input id="producetime" name="producetime" placeholder="Please select production date" type="text" class="layui-input" lay-verify="" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">Batch</label>
                    <div class="layui-input-block">
                        <input id="goodsbatchs" name="goodsbatchs" placeholder="Please enter batch" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">Inbound Batch</label>
                    <div class="layui-input-block">
                        <input id="putTime" name="putTime" placeholder="Please select inbound batch" type="text" class="layui-input" lay-verify="" required readonly="readonly" style="background: #E7EAED"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;Submit&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;Back&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}